medfilt2 check removed