fixed error msg in MATLABs generate_folds