On Quaternions and Octonions