merging to latest version
Merge branch 'master' of https://github.com/emilrydkvist/InformationVisualization
Merge branch 'master' of https://github.com/emilrydkvist/InformationVisualization
Changed function checkDirection to use dot product to check direction
merged, checkDirection is now superduper perfect good!