Add difference between 2 quaternions function
Fix delta function