fixed zero case in quat.exp