Refactored and modified the documentation of the TripleBuffer.