Create newBrainstateOnTotalLayouts.c