Code to implement the NTL Model for LBNL UCB