fixed some typos
small code changes for interarrival time histogram
add plot for interarrivaltime