Haddock and whitespace cleanup in KMeans
Initial support for autoregressive models