Horizon sensor library working. Memory leaks detected, to lit is mandatory to look for them with valgrind or any other tool