bug fixedgit status change data type from int to float in the initialization of matrix