viewer updates
Fix bug where the wrong coarse sample indices were being used in the final step of the 2D and 3D findSparseShifts method.