Individual Continuities

#104 
Added helper functions in some of the Movement Command and Dot object prototypes.
This one is pretty complicated, can we comment each part to explain what's going on?