adding spatial pooler test file
added test for row replace on sparse binary matrix
refactoring spatial pooler, added sbm test
added sparse matrix lib
added ReplaceRowByIndices test