The Elements of Quaternions — book by William Rowan Hamilton