adding affine transform with entropy
affine transform with entropy