Makes some corrections in DynamicalSystem class.