Merge pull request #8 from p2t2/DEV3.0.0

Dev3.0.0
Fixes for issue #336 in Importance sampling and Forward sampling.
Includes a test to check for the error. Note, this error was not
reproducable using Containers.

Also includes a small change in BP that runs message passing in parallel
using Scala's parallel collections
Merge pull request #337 from bruttenberg/DEV3.0.0

Dev3.0.0