Code to generate coordinates from a focal coordinate given distance and degrees