Visual Place Cell Encoding: A Computational Model for Spatial Representation and Cognitive Mapping