dot product and angle for vector calculated