K Means Distance Formula Equation