fix up mag axis calculation for divertor