An improved cellular automata-based BIST architecture for sequential circuits