Update Gaussian equation. Added an offset parameter to extend its functi...

...onality when using this function for parameter spatialization.