Added the Sin function
Add the cosine function
Update examples to current syntax
Added the tangent function
Fix an issue in the code