Added a converter between horizontal and square representation for vectors

Oskar. 40 min