STAT506 Sampling theory