Vector math utilities.