Design of aerostatic bearings