Merge pull request #1827 from mazumdarparijat/fastkmeans

mini-batch KMeans Added
various minor fixes in GPs framework
Merge pull request #1829 from votjakovr/feature/gp_refactoring

Various minor fixes in GPs framework
minor chenges in KMeans