yesterday commit. little refactoring. mat3 continue implemention
refactoring, implementing mat3