New functions to apply gauss filter to image
Changed line stim to manual generation