fix for MSVC build (OpenMP parallelized for-loop does not accept size_t variable)
Merge pull request #753 from magro11/master

fix for MSVC build