Using the self-optimising control of an electro-hydraulic servo system to minimise the power loss