do single node deletion in main loop
wrote some tests
fixed precision in cython
some more tests

- test when deletion unnecessary
- check that exception gets raised
also do other residue calculations in cython