Add world_transform function, may be useful for implementing bearings based on quaternions.