Scattered corrections and improvements, and tests for python and julia versions

I have added a number of scattered corrections and improvements in both versions, including updates in the Readme.md files. I have also included tests in julia and made as compatible as possible with those in python. Still, there are some things to check.
I don't think this is necessary. We can use a `with` if we really want to reset the rounding mode afterwards.