Implementation of an analytically based scatter correction in SPECT reconstructions