removed psha unused module
fix qa 1
fix qa2
remove unused function
fix mean/quantile loss curve computation
use min of the maximum losses
changed approach to better handle curves defined on a different number of points
fix handling of trivial curves
added debug statement
removed debug statement
Merge pull request #1138 from matley/update-event-based

Update event based mean/quantile loss curve computation