Enabled LOS calculation to use multiple cores using the multicore package