Indentation
Added stub documentation.
Rewrote analysis function.