angle mapping normal correction algoritm almost complete