Move sigmoid to ml module