made adjustments to CLARegion and SPRegion to accomodate new c++ spatial pooler