Thanks. I think it makes sense to slightly rework the existing example, since you are providing the full rotation matrix definition. That way you can just drop the existing derivations of 'R' and just compute the vector v' in earth coordinates as R (rotation matrix) * v. Also I think ideally the vectors should be in bold if there are scalars in the text as well.