fix gaussian smooth scaling problem; add correlate wrapper