Fix errors with singular matrix in CoxPH

This fixes the error of singular matrices when solution
is 'too exact'.

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>