Re-instantiated and optimized the R_in/out calculation.
Added separate ee/mm ratios, polished plots.
Synchronized with HEAD.