Added threshold feature to average. This version can be VERY memory intensive, but maintains the speed of DsdAverage.
Fixed and optimized DsdAverage. Much better.