Python implementation of poisson blending