Created a Dist function in language for autocorrelated rates model