Fixed a stupid error in compute_hazard_curves

There was a wrong exponentiation by poes.