Genetic estimation of iterated function systems for accurate fractal modeling in pattern recognition tools