Coordinate conversion program - unix implementation