Updated trigonometry documentation.