many small improvements and most improtantly, dynamically generated
m-file for a generated system of differential equations