Added a RealTransformer interface on top of cosine, sine and Hadamard transforms. The Fourier transform cannot implement this interface since it produces complex results. Improved error messages.