Numerical studies of loss of ellipticity near singularities in an elastic material