Basic arithmetic and use of scientific notation in R