Change-point detection: Using directional derivatives