Straightforward integration for free surface Green function and body wave motions