current code gives very good correlation, going to spend some more time changing the method for testing variation. second stage hardware filter appears not to help