repair function repaired
changed few functions
fitness for new model added