complex definitions of sine and cosine