Mastering Scientific Computation with R