Added regions necessary for computation of R_{in,out}; also writing out a summary for each plot (to a file)