analyse_piecewise_exponential function

Create Analyse function for piecewise exponential model