Calculate angle between vectors

Method to calculate the angle between 3D vectors.