The Use of Frames in Sampling Theory