Time dependent description of four wave mixing in absorbing media