updated cruncher as algo done on arduino
added ranging