Some changes

Corrected Euclidean distance calculation. Reinitialize list of cluster
associations at each step. Updated classify function to be purely
functional. Tested some optimization changes.