add my own least squares routine, used by fitPARM3