I am working on some code that I will convert to a class for

I am working on some code that I will convert to a class for a larger project and have an odd behavior that I am hoping for help with.

I am creating two logical arrays that I use to access the LEDs in the correct order for the pattern. I am having a problem with logical_array_one[0] not working unless I add line 161 in the code.

the program is at https://gist.github.com/brencerddwr/d518deb9b1173f7fad207f1ec9bc4384

If you see ways to improve the code, I welcome all constructive feedback.