bug fix for random subsetting and scheduler, fixes #104 and #103
Merge pull request #105 from rpanah/fix_scheduler_bug

bug fix for random subsetting and scheduler, fixes #104 and #103
Merge remote-tracking branch 'remote/master' into dev