Added parabolic solver for the inpainting problem.
Added input parameter checking.