Rename derivs in losses.jl to avoid conflict