A Flexible Simulation Code for Microwave Curing of Polymers