Optimized Vector Class