Fixed issues with number of bytes for number of LEDs not being a multiple of 48

- Added fix for multiplicity problem with the byte count not being a
multiple of 48 with a given number of LEDs (e.g.: 50 LEDs)
- Reformatted arduino code.