Subgradient and stochastic subgradient learning algorithms.
WIP: The results do not look good yet.
Merge pull request #2 from iglesias/subgradients

Subgradient and stochastic subgradient learning algorithms.