Fix issue with covq_2 not compiling on linux, add python functions.