implemented various operators for quat.