Finished implementing the basic functions for the temporal pooler. Needs
significant testing for validation.