updated NLMeans and Mapper-Reducer