PEP8 fixing, adding documentation
Added tests for SemanticPointers