Now generating cubes, including strech data.  Need to handle twisting and other deformations next.