Added segment support to the ws2801-pattenrns module