robustified against column inputs

If column vectors are supplied, they are converted into row vectors.