make it more performant but still cool Simplify Gaussian

make it more performant but still cool Precompute Gradients

make it more performant but still cool Optimize Functions