added median filter files and updated Makefile