Sweeping works sufficiently.
Cleaning code

- removed functions which were replaced by mixed_num_t functions
- removed old debugging comments
- repeating code rewritten to functions
- ways in nodeWays are now sorted
- direct lines now not computed between points on one way