Implemented a better mat3 test
Fixed relevant functions (mat3 should work now)