Seperated poisson image editing and image inpainting, added distance map usage