Began re-formatting .R to have consistent style.