Minimal Energy Control of an ESN Pattern Generator