fix bug for no empirical weight at age
fixed bug in generateNewFile function
changed all data files so that all examples  work