Cond, det and trace for CuMatrix