Elements of Sampling Theory