add hash cache to Quat4 (but currently broken, backup only)