update mean loss curve computation
create a suitable fixture for CreateRiskCalculationTestCase.
Merge pull request #1145 from matley/eb-fixes

Mean loss curve computation updated