  
          # calc scale factors and divide shapes
          scale_factors = np.sqrt((shapes_centered**2).sum(axis=1)).mean(axis=0)
          shapes_normalized = np.zeros(shapes_centered.shape)
          shapes_normalized = shapes_centered / np.tile(scale_factors,
                                                        [num_pts, num_dims, 1])
  
          return shapes_normalized, scale_factors, mean_coords
  
      @staticmethod
      def normalized_to_original(shapes_normalized, scale_factors, mean_coords):
 
</s> remove         shapes_centered = shapes_im_coords - np.tile(mean_coords,
                                                     [num_pts, 1, 1])
 </s> add         shapes_centered = shapes_im_coords - np.tile(mean_coords, [num_pts, 1, 1]) </s> remove         shapes_centered = shapes_normalized * np.tile(scale_factors,
                                                      [num_pts, num_dims, 1])
 </s> add         shapes_centered = shapes_normalized * np.tile(scale_factors, [num_pts, num_dims, 1]) </s> remove         shapes_im_coords = shapes_centered + np.tile(mean_coords,
                                                     [num_pts, 1, 1])
 </s> add         shapes_im_coords = shapes_centered + np.tile(mean_coords, [num_pts, 1, 1])
        shapes_normalized = shapes_centered / np.tile(scale_factors, [num_pts, num_dims, 1])
  
          # calc scale factors and divide shapes
          scale_factors = np.sqrt((shapes_centered**2).sum(axis=1)).mean(axis=0)
          shapes_normalized = np.zeros(shapes_centered.shape)
        shapes_normalized = shapes_centered / np.tile(scale_factors, [num_pts, num_dims, 1])
        shapes_normalized = shapes_centered / np.tile(scale_factors, [num_pts, num_dims, 1])
  
          return shapes_normalized, scale_factors, mean_coords
  
      @staticmethod
      def normalized_to_original(shapes_normalized, scale_factors, mean_coords):
keep keep keep keep replace replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
tools/lib_alignments/jobs.py