fixed a bug in ODEFactory.solve (partition used bad conditions)
fixed some minor bugs