Numerical methods for degenerate Eikonal type equations and applications