Fixing K-Means empty clusters bug