cleaned scan1D
Merge pull request #2 from HansN87/scan1D

cleaned scan1D