add failing test for variable noise in extract()
remove redundant dthresh/thresh throughout code

separate numbers for detection and analysis thresholds are not needed in extract()
because extract() doesn't make a separate analysis cut. There is only a detection
threshold, which is now called "thresh" everywhere.
make tests for variable noise map pass