Added/removed blank lines in the docs for consitency

For consistency I removed or added blank lines to have at most 1 line between elements and exactly 2 blank lines after headers or before bigger sections in the docs.