Make the Octave module work for both rows and columns vectors.