refactor grey scale filter
refactor gaussian filter code