Setting a computed number to an element of Vector

