Gjp 16 feature selection sample

created by David, rebased on master