GetDistanceToAlignment Method