Lots of cleanups, and return T: Float from noise functions

In examples/brownian, you change the brownian_for_image functions to use an explicit return statement. Here, you remove the explicit return statement. Perhaps we should choose one and be consistent?