Produce knot function to eliminate duplicates
Fixed named knots
Clean up tie names