Update gitignore to hide docs
Incorporate RelativePosition into Position and make according changes;
more could still be done to add better helper functions.