Ideal weight calculation: the method