Added plotting functionality

Functionality to calculate moving average and standard deviation