fixed anisodiffusion calculation for grdx and grdy calculation