Numerical calculation of absolute forward thick-target bremsstrahlung spectra