take longitudinal wake in front into account - to be tested still ...
Merge branch 'master' of https://github.com/like2000/PyHeadTail into HBartosik