a start at better parallel code
working new version of HMM parallel resampling
tweaks
fixes
Merge branch 'master' into better-parallel
closer to working..
progress
by god, it works!
fixed old comment