Make use of parallel computing to make scripts run faster. Especially the loops can be optimized with `parfor`.