updated directionality.ipynb