Added comments to describe error handling in calc_rhat