Linear Algebra: Determinant after row operations