Working on new Variable classes.

Now Impulse is completely broken. I'll fix this soon.