Elliptical harmonic method for gravity forward modelling of 2D bodies