Fixed preproc.medianfilter

accounted for