Finite-Order hydrodynamic Approximation by Moment Matching (FOAMM) toolbox for wave energy applications