peak-sensing current mode and slope compensation