Removing pointers from getIntVector and getIntVector2D