Implement samplers

Close #13