fixes error in the analysis.profiles code
fixes error in the analysis.profiles code

The _tranche_cumulative_partitions function had some obvious
errors. These are fixed now.

ADicksonLab/wepy,ADicksonLab/wepy,ADicksonLab/wepy