Friction and wear in machinery