fix of migration of IntDistribution to ParallelSampling
migration to Scala 2.11
test fixup