inertia_calc function

Cluster Inertia Calculation