Added an OpenMP version too.