An automated tool to detect variable sources in the vista variables in the ví­a láctea survey : the VVV variables (V4) catalog of tiles d001 and d002