Approximating heavy tailed behavior with phase type distributions