Angelo Ogbonna says Manuel Pellegrini has brought discipline to West Ham and believes it is only a matter of time before results turn in their favour.