trying out one function (and section) at a time
gaussianBlur reimplemented, still not working