Text this: Simulation and design optimization of wave propagation in heterogeneous materials