Add the math methods to rotate de vertices of the cubes