Supercell matrix support for creating modulation structures