Total Dist 0
Total Dist 1
Total Dist 2
Cost Function