modified quats.c
made *_qit prettier and did other fixes