faster high-precision cos(pi*p/q), sin(pi*p/q) using algebraic formulas and polynomial root-finding