Pep Guardiola hailed Raheem Sterling's match winning performance in Man City's 2-1 win at Huddersfield.