Converted to Rnw; improved running.