Revert WhiteNoise to original implementation

This is faster, and in a lot of cases, I see the appeal of specifying
duration rather than `n_bases`. This also removes the need for a
specific implementation of `f`, though in part this is because in
the unit tests I matched the `WhiteNoise` duration to the simulation
time.