NickFL
Subscriber

Is there a reason why you cannot just change it to cosine? See here for the Euler notation.