<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def calculate_average_diameter(self, **kwargs):
 """ Return the average diamension of a molecule. Returns ------- :class:`float` The average dimension of the molecule. """

        self.average_diameter = find_average_diameter(
            self.elements, self.coordinates, **kwargs)
        return self.average_diameter