Merge pull request #5 from pminervini/master

Some more loss functions
Fix duplicate argument bug