Moved multiprocessing import to location of other standard libraries
Added documentation for index parameter in worker function