Control of machines or pumps with rotary cylinder blocks by varying the relative positions of a swash plate and a cylinder block by moving the swash plate in a direction perpendicular to the axis of rotation of the cylinder barrel