advanced_numpy: Added the function dot_product_partially_normalized, which will be used in the module advanced_image_processing to deal with some of the comparisons between neurons.