update envelopes to be faster, fixes

switched to using exp2(log2(a)/n) for nth roots instead of exp and log.
it
turned out to be faster in some basic tests. also fixed a bug with
release stages. changed normhipart to a macro in sampphase and moved
things around