Method of calculating the compressible flow round an aerofoil or a cascade up to the shockfree transonic range