added things to quatoinion calc