Mclapply function ready to go