Initialization fix

Fixed problem with initialization of d_fx array