Re implemented math vector