slightly renamed attributes and methods; removed unused code; added max distance evaluation (was done by new ping before)

Signed-off-by: Dieter Niklaus <dieter.niklaus@gmx.net>
Merge branch 'master' of github.com:dniklaus/arduino-driver-ultrasonicranging