Added functionality in FittingLibrary and CharacterLibrary to create .dat files when they are not prescent.