Made some modifications to fix a build bug and made the color bank only select from one direction for each pattern.