EvoDynamic: A Framework for the Evolution of Generally Represented Dynamical Systems and Its Application to Criticality