Move code to create abbreviated sampling function into insect class.