adds determinant calculation for 2x2 and 3x3 matrices
adds ability to grab rotation matrix from homog matrix