Added substantial Javadoc explaining getRelativePosition() method