minor changes to MMA.
added Joseph's start for a harmonic oscillator simulation.