determinant of symmetric matrix