Port Quaternion

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>