On Coastal Trapped Waves: Analysis and Numerical Calculation by Inverse Iteration