filtfilt() must return IndexedSeq[Double], not Seq[Double].