Fixed classify, amax->argmax.
Small changes.
Finished writing from_dummies.