input/internal/output sizes var consistency. input array mapping correctly
gates now linked on proper pins