Update the fragility model to nrml 0.4

And removed some unused stuff