Update klp_kmeans.py

error calculation has been changed