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

I'm not sure what you mean here. What would you like to see instead?