I can now sample from an arbitrary hazard function
working