Distances

Finished a working model of distances. There are two diff. vers. one for pythagorean distance, the other for individual axis distance.