cleaned up cubes code
Merge branch 'master' of https://github.com/andreasbastian/pyControl