added first local diagnosis (no cusum yet)

Signed-off-by: Marco Milanesio <milanesio.marco@gmail.com>