inverting matrices is never a good idea. Rather solve linear systems when you multiply this matrix to something