Compensated variometer for gliders