Also, I want to point out for those of you looking for pseudocode, that BaMI contains updated pseudocode for both spatial pooling and temporal memory, but it is kindof buried in the Other Content [PDF] section (we’re looking into reformatting to make it more prevalent).