little bugfixes
creates seperate helper classes, containing calculation, for reuse in dimension objects