deleted radius and added getRadius

getRadius calculates the radius properly