Added quaternion support for interp task.