A Computational Model Of Learning From Replayed Experience In Spatial Navigation