Add quaternion
context.h: Add K_API to function declarations