Image Inpainting Using Mathematical Algorithms