added median filter for tactile skin