add isSingular and computeDeterminant to LUPResult