fixed bug in read_tony_file
all the docstrings