add a "radial mode" option to get relative dir. (just for kicks)

Adds a mode for get relative dir which should give radial symmetry,
using vector ops. This might be useful in some application, or to
help debug.
move default relative dir mode to .cpp file, for ease of testing