Added TODO in generatedata2 and added commen in rotate_data