added circular buffer class. generates circular buffer for fast correlation and convolution