move NOW, BEFORE to MathHelper
Cell comments
Column: get rid of posX, posY fields, SpatialPooler: use columns[][] structure

also rework some methods
HelperMath new function inRange(), and use it

use it in SpatialPooler and TemporalPooler
inRange(val, min, max) returns closest element to val within <min,max> range