A Wavenumber Based Extrapolation and Interpolation Method for Use in Conjunction with High-Order Finite Difference Schemes