discrete version of exponentially weighted moving variance added