Added setDirection to Quat