A geometrical optimization method applied to a heaving point absorber wave energy converter