multiprocessing in sparse_coding