New matrix-vector functions.
New functions. Modified output.