Quat class almost implemented