finished issue #77 and changed temporal pooling to update both SegmentUpdate and DistalSegments when they are sequence segments