reproduce.R - typo & bug fixes. 

was missing quotes in an if clause
also, chopline had a small bug (removing a non-white space char)

both fixed