History of trigonometric functions