NLM with euclidean distance and BNLM exponential