- expanded the code to work on non-OpenMP Mac OS X