Cleaned code and add verbositiy to LCA function

Signed-off-by: Pier-Luc Plante <pier-luc.plante.1@ulaval.ca>