Fixed one assumption that wasn't met.

I assume gen_vector() assumed that parameter 1 and 2 should be a touple
of the objects (x, y) so i corrected this while i still remembered it.