added 2d gaussian fit