I wish the source code was cross-platform. It doesn't build in Visual Studio.
'erand48': identifier not found
'M_PI' : undeclared identifier
Obviously #define M_PI 3.1415926 should do the trick, but I need to track down an erand48 replacement.