Checking opencv version,Tolerance

1.Checking Version of opencv and implementing kmeans accordingly.
2.Decrease Tolerance for better accuracy 0.8-----0.0001