notebook for hazard curves calculation