Fixed Issues With Distance Detection

Uses a separate script to hold and calculate distances.  Player also
walks towards the center of the object clicked.