A THEORETICAL MODEL TO CALCULATE TIME-HEADWAY DISTRIBUTIONS AS A FUNCTION OF TRAFFIC DENSITY