Add support for OpenMP

This pull request adds the support for OpenMP that is documented on the developer's website. It also adds initializations for several variables that are reported as possibly not initialized using some compilers.