typos and added 2d gaussian psf
added fluxToPeak function to sersic