Computing global Vectors