added doc tests (examples) for graded ring elements, fixed a mistake in the determination of the precision of fourier series, fixed a bug with the series constructor (reason: True and 1 were cached as the same), proper evaluation at infinity