Added part of phase 2 for the temporal pooler. The predictive state is updated
Finished implementing the basic functions for the temporal pooler. Needs
significant testing for validation.