add line breaks
substitute lowercase n for sample size
correct typos spotted by Jan
compile pdf