Fixed bug in ``_minpoly_op_algebraic_number``, added test for it;
thanks to Katja Sophie Hotz for both.
improved ``_minpoly_cos`` and ``_minpoly_sin``; added tests