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.
Shouldn't this rather use the same type as the contents of the interval