Clean up and renaming of transformarrayitterator to Loop_patterns