updated exceptions in KmeansAnalysis algorithms