Nonconvex loss functions added