fix bug in production and organic matter differential equations