Calculating coordinates in Minecraft portals for fast travel