Resets the work entries in the passed Network. You need to call this before performing a new model run
network (Network) – The network to be reset
nthreads (int) – Number of threads to parallelise over