Constrained Matrices