A parameter study and optimization of two body wave energy converters