Merge pull request #391 from bhariharan/unstable

Added reset() method
Add 'samples' target