Direction calculations
Merge branch 'master' of github.com:jaksah/ModellingComplexSystem