add example scan program
silence spectrum generator
print error messages only in verbose mode
remove unused variable
add comment about the error to the scan output
use the global non-perturbative exception instead of a local one
scan only 10 points