Added discrete image derivatives