Ab initio calculation of thermoelectric properties in 3d fer