Some code cleanup.
Bug finally found and fixed. Note that the characteristic edge length must be assured to be max(e_i) for all edges e_i in E of the geometry.