Adding MovingMedian, csv writer and reader.
latest changes for recording values.