3d transformations added (cube)