updated piecewise fit code
Merge branch 'master' of https://github.com/PlusTheMonk/jm_censoring