Fixed indexing in coarseSweepL. Potential issue (tid==k-1) vs (tid==(k-1)).
Fixed indexing in coarseToFineSweepL.
Test.
Fixed indexing in localWeightAndSweepR.
Fixed indexing in coarseSweepR.
Fixed indexing in coarseToFineSweepR.
Modified timing variables.
Fixed indexing in coarseToFineSweepR.
Fixed indexing in right sweeps.
Fixed various indexing issues.