Text this: Bezier curves for solving Fredholm integral equations of the second kind