Added function to calculate transit vehicle headways from an array of vehicle arrivals at stop. This can be used for all 8 headway definitions.