Parallelized calculating the laser matrices and fixed another serious typo (Wmat calculated wrong)