[modules] remove unused baro_x_updated vars
[math] buf fix on geodetic function