Receding-Horizon Pseudo-spectral Control of Wave Energy Converters Using Periodic Basis Functions