Fixed warnings
Factorize glm::inverse code for matrices