returns a mask indicating where solutions live in the A0 matrix.
Returns a ‘mask’ (matrix with 1s or 0s) indicating where different solution types live in the A0 matrix.