Added a converter between horizontal and vertical representation for vectors

Oskar. 50 min