Added range check on Box and Cylinder to help users with invalid values.