Setting up qmath.h