Numpy Array Get Number Of Rows Of Matrices Mathematical Modeling