Calculates the inverse of the matrix, yet unfortunately it only supports 2x2 matrices. I incorporated my knowledge learned from Kahn Academy and used the formula: 1/|A|*Adj(A) where A is any matrix |A| is the determinant of the matrix Adj(A) is the adjoint of the matrix Keys 1 - Set item 1,1 2 - Set item 1,2 3 - Set item 2,1 4 - Set item 2,2 Thanks to @greedjesse for text engine Check out this project that displays transformation matrices very well: https://scratch.mit.edu/projects/182595264/