Calculates the angle between two vectors