Updated ringbuffer to use Data instead of [data, markers]

* RingBuffer takes time in ms instead of length
* Added and updated various tests
* Updated docstrings