A sliding mass wave energy converter