Algorithms for the calculation of the projected area factors of seated and standing persons