Add HingeLoss optimizer implementation in Scala. Needs some refactoring.