A new fitness function and its application on a five locus model