TINYGL: Done some optimization by moving the logic inside the class Matrix4.