additional test for more complicated distance
implemented vector rotation
calculate length, dot product and angle to global plane