Untested math vector implementation