Refactored TempEval3Dev so that each cv fold is a single sub-routine