multicore nnapply