Modified stratified sampling method.
Corrected spelling
Changed submitButton to actionButton to allow easy refresh.
Merge pull request #1 from Dasonk/master

Fixed stratified sampling