Added support for 3-vectors.