Computer-generated optical mode-managed funnel coupler for reducing intrinsic coupling loss