rahreg function

Random generation from accelerated hazard models