Added methods for populating initial centers and computing distances