Create scanner.cpp

Do linear fit into calibration data and calculate the shift> Uses GNU Scientific library:
http://www.gnu.org/software/gsl/