Rep. Invariant rectangle fixed.
Added analysis document from R lesson.