%-------------------------------------------------------------------------------
README
%-------------------------------------------------------------------------------

NeighbourhoodAlgorithm is a Matlab encoding of Cambridge (1999)'s Neighbourhood
Algorithm (http://www.iearth.org.au/codes/NA/), used to search a parameter space 
for inversion purposes. 

NA is called in the same way as inbuilt Matlab search functions (like fminsearch):

>> [model_opt,mfitmin,models,mod_vals] = NeighbourhoodAlgorithm(ObjFunc,nd,lb,ub,naopts);

INPUTS:  
ObjFunc is a function handle to the function to be minimised
nd is the number of dimensions
lb = lower bound of search for each dimension
ub = upper bound of search for each dimension
naopts = search options, can be set with naoptimset function


