An efficient and accurate algorithm for non‐linear inversion of geoeletric data following Occam's inversion scheme