added nonlinear rectifiers (sort and log)