CDF curve update

Changed from histogram bins based to percentile based CDF curves