updating eulerian.py