added np.asarray call to durbin_watson function