reverted ngle calc