Implemented determinant.