Changed CorticalPotentialFunction to CorticalPotentialField, which now yields a single symbol f that gets bound such that f[X] is the potential and Gradient[f,X] is the flattened gradient. The CorticalPotentialTerm form may be assigned to add new kinds of potential terms that are undestood.