modified initial param estimate and fixing to cope with distribution with single peak
added possibility to fit fgain
added macro to plot superimposition of ph distributions