Ballistic direction function
Merge branch 'dev' of https://github.com/EoinTravers/Squeak into dev