function Cos(n)

Returns the Cosine of an angle