trigonometric functions added :O!