Added OpenMP support (but not yet tested because the free version of
visual studio doesn't include it)