Some small vector optimizations.
Animation class refactor.