code: def apply(self, coordinates):
          
          transform = self.get_transformation(coordinates)
          result = MolecularDistortion(self.affected_atoms, transform)
          result.apply(coordinates)
          return result
docs: Generate, apply and return a random manipulation