Implement moveToInitialPosition()

- Fix setRawData()
- Fix index representation: size -> (head + tail)