Create quat_tools.cpp