fixed error in QR calc of determinant part 2