added in ability to rotate the mesh in modem_new.py