fixed clip and rms functions
fixed clip and rms functions

clip now returns a mask for values above threshold.
RMS value is now devided by number of pixels (that are not masked)

bartscheers/tkp,mkuiack/tkp,bartscheers/tkp,mkuiack/tkp,transientskp/tkp,transientskp/tkp