reset edge length threshold to 2% of diagonal
update edge.py infinite vanishing point calculation