forgot to initialise the cartesian coordinate vectors