Merge pull request #1 from simbag/master

Pull request 1
apple
Merge pull request #2 from bianconeri23/master

apple
newDirection