Iterated Function Systems with Place-Dependent Probabilities and the Inverse Problem of Measure Approximation Using Moments