Added optional norm scaling to MaxMargin.

Also made loss balancing optional.