Uncommented the linex model line in genResampleData so that it works.