works out coordinates for boat