Functions written for data clustering as part of a Machine Learning course at Square's 2014 College Code Camp.