Adding SGD transform