Fixed some variable references.
Added more line spacing to documentation.