wire analysis passes three example tests with good precision
copied attribution from wire.py to plots.py also
merged from origin