Working version for nsamples divisible with nprocs
Merge branch 'master' of https://github.com/grantathon/computational_fluid_dynamics