Started implementing of rotating individual cubes around one axis. Also, minor fixes.