Working on the getDistance math