<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lengths( self ):
 """ The cell lengths. Args: None Returns: (np.array(a,b,c)):
 The cell lengths. """

        return( np.array( [ math.sqrt( sum( row**2 ) ) for row in self.matrix ] ) )