Implemented matrix transform for a 2D vector, and implemented inverting a matrix.