Also, isn't double a 64bit memory? Would we benefit from not having to copy m, b and x and instead pass them as pointers?