Make a few changes to pattern recognition to work with strip sensors