Space domain based algorithms for automatic modeling and inversion of gravity anomalies of sedimentary basins by means of growing bodies and exponential density function and a semiautomatic method for gravity modeling of complex geologic structures