Free-knot spline inversion of a fredholm integral equation from astrophysics