Added a check on the consistency of the given hazard calculation
Improved the error management
Improved the error management
Improved a docstring
Fixed a docstring
Merge pull request #1579 from gem/check-hazard-calculation-mode

Check that the hazard calculation mode is consistent with risk calculation mode