A modified gradient method for two-dimensional problems in tomography