Photometric Decomposition of Galaxies