commit 05-12-2014: adjusted total.R documentation