An overview of losses functions