added model to target in the cross-validation
parallelised the cross-validation scheme