wrote up some stuff on Marsaglia's algorithm