Fix bug in exponentially decaying sample
Bump version to 1.3.1