Working version of isochrone fitting