Convert Matrix3 from []float32 to struct.