Added running averaging and window in place of threshold