cleanup and improvement in root finding
Merge branch 'devel' of github.com:irfu/whamp into devel