Fixed numerical tolerance bugs in LinAlg::is_SPD and LinAlg::is_SPSD