Made corrections to the data loader class, added ability to smooth the data as well as decimate it.