Added information about gradient computation