The Lightspeed Matlab toolbox version 2.6 by Tom Minka, mirror from http://research.microsoft.com/en-us/um/people/minka/software/lightspeed/