moved great circles functions to separate .py file