Predictive algorithms for directional optical properties of coated glazing for building and automotive applications