Matrix Calculus And Zero-one Matrices