FIX: A really nasty bug fixed.

There was a bug in the generator of vectors. Instead of generating each element of the vector, it generated the first one multiple times. The cause was a mistyped variable name.