Fixed the multiprocessing

Now uses a pipe to communicate with the process!