Calculation of pressure in a hydraulic veneer press