Novel Cellular-Automata (CA) based modelling and optimization for recrystallization and grain growth in materials - theory and applications