SingleCrossover:

--------------------------------------------------------------------------
   GA crossover function which switches a randomly selected parameter between
   the two parents.

   The user supplies two options:
     nCross, number of crossovers each generation, and
     pCross, probability of crossover between selected parents. 
   The first option, iGen, is provided by the genetic algorithm.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   [c1, c2] = SingleCrossover(p1, p2, bounds, opts)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p1                (1,m+1)  First parent
   p2                (1,m+1)  Second parent
   bounds            (m,2)    Variable bounds (-/+)
   opts              (3)      Options, [iGen nCross pCross]

   -------
   Outputs
   -------
   c1                (1,m+1)  First child
   c2                (1,m+1)  Second child

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