Added nested quat library to handle quaternion rotation. fixed autotool and such.