File median was added to implement histogram median
Merging Etienne errors