Calculate the determinant of a matrix using NumPy