general parallelFold
Merge branch 'master' into feature/sgd