Introduced the generic name .risk_functions
Added a limit_state tag to the fragility functions
Introduced a HazardGetter class
Restored a line deleted by accident
Refactored gen_outputs