Implemented new method for runSurvReg.