Update dynamics.ml

close #87