Inverts a mat2
the receiving matrix
the source matrix
out, or null if source matrix is not invertible
Inverts a mat2