Removed diagram border and made a few minor edits