Add function to rotate vectors in CFTAL source