implemented multiprocessing on forward modelling