wrote in dymmm.py

adapted most of dymmm.py to framed
still need to rewrite _ode_RHS