qts2sqts function

QTS Transformation to Smoothed Quaternion Time Series