Made matrix into integer, not floating point.