Improved avg k-means method. Added Distributed linear model mixin.