Create buildcube.m