Added Determinant calculation

and "isInvertible" function