gademo1eval1:

--------------------------------------------------------------------------
   Demonstration evaluation function used in gademo1.
   f(x)=x+10sin(5x)+7cos(4x)

   Since version 7.
--------------------------------------------------------------------------
   Form:
   [sol, val] = gaDemo1Eval(sol,options)
--------------------------------------------------------------------------


   ------
   Inputs
   ------  
   sol         the individual, returned to allow for Lamarckian evolution
   options     [current_generation]

   -------
   Outputs
   -------
   sol         the individual, returned to allow for Lamarckian evolution
   val         the fittness of this individual

--------------------------------------------------------------------------