- rename gd namespace to optim