new algorithm
Merge branch 'master' of https://github.com/Winxton/forwardsim