refactored saving of filter() in a proper function. Added block sending and receiving. Using strict synchronous MPI sends for workers.