Segments light when they should be off

I will post the code once I have cleaned up the fluff and copious commented out lines