inversion function

Estimate net rainfall by inversion