Implemented risch_integrate for trigonometric, inverse trigonometric and hyperbolic functions

Added flag rewrite_complex to avoid risch to calculate every integral in terms of complex numbers (as we can get better results from other algorithms).