Add sample manipulation.
Merge pull request #20 from kenbeese/add-sample-manipulation

Add sample manipulation