fixed a bug in the signal width fit
added the re-scale of the signal width and the signal injection options in the script