Code works for symmetric, doesn’t work for asymmetric.
Made generic.
Fixed, WA before.
Fixed, before program gave WA.
Commented out irrelevant stuff.
Xcode project files