Updated radius calculation