Changed rangefinder code for new IR sensor arrangement (issue #32)