sampleTransect function

Sample transect