switched to using median and cleaned up my 2d arrays
switched algorithm to use a smarter estimator
added text box for output info