Added initial documentation

Added initial documentation for the core methods in spatial_pooler.hpp