Refactor variable name to Inasafe convention and add documentation