working version of all classes, updated documentation, many bugfixes including rounding errors