Added vectorized ndim-gaussian, timing, pep8, pyflakes fixes