A calculation of the photodetachment energy of NH2