fixed bug converting vehicle to use the linear algebra class