Compute the determinant of a square NumPy matrix as a scalar measure of invertibility and volume scaling.