The boundary value problem approach to the data reduction for a spaceborne gradiometer mission