By comparing the info from our memory with the info from our senses, which we are all preprogrammed to do, we find we have the ability to predict the future, not nearly perfectly but enough to significantly improve our decisions