implemented median filter
Add lua scripts and bug fixing
Changed keys
Merge pull request #1 from luca3m/median_filter

Median filter