I seem to be having difficulties writing a code using c++ to convert a vector in one coordinate system to a vector in another coordinate system ((e.g) Cartesian to cylindrical, cartesian to spherical, cylidrical to cartesian, cylindrical to spherical, or spherical to cylindrical) using matrix representation of the conversion at a given point.