Ft/gaussian pyramid

code for gaussian pyramid as well as for the downsample function