Added R_max and updated documentation.