Implement linescan.rescan() 

It took some work, but I have finally implemented `linescan.rescan() ` from #2.