K-Means Clustering From Scratch in Python (Mathematical)