Science behind flight pricing