fix computation of mean/quantile loss curves
fix computation of mean/quantile loss curves


Former-commit-id: 11472a9cf4529a1bb89b01cd9ea86d597a7578a0
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine