Fix Dropout algorithm.