Function angleOf

Return the angle made by the vector v with the positive x-axis.