I suspect somethig using calc tan line is incorrect?
playing around with different options for geodetic calculation