Interpolation using the discrete cosine transform | Synapse