Mathematical Modeling Analysis and Optimization of Fungal Diversity Growth