docs: protected void setUpTransform(SingularValueDecomposition svd)
      {
          Vec diag = new DenseVector(dimensions);
          
          double[] s = svd.getSingularValues();
          
          for(int i = 0; i < dimensions; i++)
              diag.set(i, 1.0/Math.sqrt(s[i]+regularization));
          
          transform = new SubMatrix(svd.getU().transpose(), 0, 0, dimensions, s.length).clone();
          
          Matrix.diagMult(diag, transform);
      }