Fixing openmp definitions so that it works with clang
Added online option
added options for doing multiple values of k simultaneously