Added Generic vec class