how to calculate bore diameter of hydraulic cylinder