adding interarrival class
adding least squares regression class