Bug solved from triple angle consistency. 2d consistency optimized. analyse_results refactored.