TINYGL: Done several optimizations to the maths code.
TINYGL: fixed error during previous commits.
TINYGL: Done some optimization by moving the logic inside the class Matrix4.
TINYGL: Done some more optimization on maths code.
TINYGL: Last optimization batch, performance comparable to the previous version.