Update README.md

Updated to adjust name of 'direction' variable in docs.