dirder function

Vector of directional derivatives