Improve rotationTo 

Fix a precision problem

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>