Added ring buffer data structure for karplus

Ring buffer data structure will loop over the data
applying a decay factor (or possibly not) to produce
loopable output needed for the karplus strong algorithm.