adding diagostics, about to make a major change in mask_signal
first version control version of a ccode to plot noisepixel info in an attempt to find a correlation with something other than position.
small updates to fix small bugs