Made some changes to AtkVar

Changing how I'm handling the cache/looking up variables.