More fixes to Vector.h/.cpp
Deleted "CachedFunc" class