Modified the diagrams. Also added jpg files of the diagrams.