altoslib: Compute 'vertical acceleration' for eeprom files