Implement the procedures for since and cosine in "Fast Taylor polynomial evaluation for the computation of the matrix cosine" https://www.sciencedirect.com/science/article/pii/S0377042718307726?via=ihub