On the Extension of Fine and Wilf's Periodicity Theorem to Linear Automata