noise profile: some work on the wavelet code.

please still don't use it in production, i reserve the right to change this..
doesn't quite all add up yet, but results are decent again.

more rigorous evalution still to do.