Fix monitor mixin for temporal memory
Fix unit test
Don't create empty segments
Update documentation