defined SNR, tested on grid of values. now to make more efficient
working well: now with nice contour plot
not sure what got changed
vestigial