Free-fall acceleration and altitude measurement