added non local mean