ADDNOISE, adds noise to model data. The noise can be either
poissonian or gaussian. If gaussian a constant noise level,
described by a given standard deviation, is introduced. If
poissonian the data is scaled by a factor to change data values
into counts. The counts are then used as estimates of the mean
value in that pixel and noise is added on this basis. Note that
the poissonian noise is pseudo gaussian and so the count levels in
the frame need to be greater than 10.
Each time this program is started a different set of random
numbers should be generated.