change the diagrams and added text to tex file.