Hmm its seems that still not enough to make it work,also even when removing the scaling down calculations and operating only in small distances it turns strangely.
Maybe it aims before refreshing the refvariables? although that should not really matter that much.
really strange
Added:I am stupid, why I do not just use angle? its also an absolute value.