added distance tracking function and examples
added new examples to index
merged distance related functions

into bindDistance and onApproach
use the same function for either object2pixel and object2object
renamed example pages and updated index