function retval=N_Rastringin(inlet)
  foo=((inlet.^2)-(10.*cos(2.*pi.*inlet)));
  retval=(columns(inlet)*10)+sum(foo);
endfunction
