Added function bufferedthreshold

Allows for memory-based rounding. Gets rid of extraneous noise near the
threshold.