Python implementation of the Goshtasby, O'Neill (1994) sum of Gaussians fit in 1D