Corrected typo in inverse function in matrix.js