Updated NIPS2012 code to CVPR2013