Reinforcement Learning control of an onshore oscillating arm Wave Energy Converter