Added jumping

Also moved repetitive detachment code to a method
Clarified AngleDiff