dataset dividation has been pulled out from parse.m and pushed to train.m