Stable and related matrices in economic theory