Completed adaptSegments and testAdaptSegments
Merge pull request #50 from cogmission/SpatialPooler_Ongoing_Dev

Completed adaptSegments and testAdaptSegments