Fixing degenerate edge free probablility
Added legacy routine for Newton iteration