Learning examples work

From the examples added in #24, removed make_fourier_input, gating,
and direct mode references.
Updated the learning code to accept rate as a parameter, and use kwargs
instead of repeating parameter lists in ensemble and network.