Add diffSeries function support
Merge pull request #544 from Akeru/diffseries

Add diffSeries function support