Started optimising for multiprocessing - NOT WORKING