Adding back CategorisedHazardBuildingImpactFunction

The CategorisedHazardBuildingImpactFunction has been removed. This change adds it back as well as updates the metadata and some rudimentary testing.