Added the GetNextElement to the CircularBuffer.cs.