ESN function

Train an Echo State Network