Added new method @dseries/detrend.
Fixed bug (wrong definition of rawdata).
Fixed bug (missing code for handling prefilter=1).