fix getting dimension for slewscan
clean up
should be able to run line, mesh, slew, xafs scans