Mattress Firm taps AI platform to improve inventory flow