hazard function

Hazard function.