Added the "pow" method.
Got rid of the domain member.

It doesn't make sense to have a "frequency domain" setting for real-valued buffers since frequency domain buffers are almost always complex.