Adding three new math functions for processing vectors.