Added Scalar/vector-valued functions of vectors/matrices