whitespace.
add function that adds new point to cluster.
simplify fn w/pattern matching.
whitespace.
whitespace.
add fn that averages.
add averaging fn.
uncomment fns.
add recenter fn.
tidy up.