Removed a function I made and no longer use; coalesced exists_dec and exists_var functions; removed redundencies in mod_var