nanshe/expanded_numpy.py: Added the pair_dot_product function for when a dot product is needed between a matrix and itself.
nanshe/expanded_numpy.py: Added the function pair_dot_product_partially_normalized for calculating dot_product_partially_normalized between vectors from the same set.
nanshe/expanded_numpy.py: Added the function pair_dot_product_normalized for calculating dot_product_normalized between vectors in the same set.
nanshe/advanced_image_processing.py: Renamed merge_neuron_sets to merge_neuron_sets_once. Added a new function merge_neuron_sets, which calls merge_neuron_sets_once. Added merge_neuron_sets_repeatedly, which will try to merge any existing matches in the current set.
nanshe/advanced_image_processing.py: Optimized distance calculations in merge_neuron_sets.