added matlab example for stratified sampling