Fitness func

* added weights  and changed  fitness function