Deriving the Maclaurin Series of Cosine