Vector math program