trying out one function (and section) at a time
gaussianBlur reimplemented, still not working
ok everything works fine, tex version not implemented and other optimizations needed