added Matrix.adjoint, Matrix.minorMatrix and Matrix.inverse to calculate
adjoint matrix, minor matrix, and inverse matrix respectively