Adding function for calculating bounding box based on a center point and a radius.