Make more use of abstract iterator, return early on if/else and do other code clean up
Make more use of abstract iterator, return early on if/else and do other code clean up

JamesBarwell/probabilitydrive.js