Update the discrete fragility model to nrml 0.4

And removed some unused stuff