Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
This new thing indentation is more in line with the whole file. Can you please have a look at the source please?