Code for the paper "A Refined Limit on the Predictability of Human Mobility" in PERCOM 2014.