A math vector implementation.