pulled driver file for simulation
small changes in sym, added flat_sim