added the function feasible that can be used in handling box constraints through a penalty in the fitness