Matt's cpp code

the cpp code for Taylor series to calculate sine & cosine