A scheme for simulating multi-level phase change photonics materials | Synapse