Update algorithm_quaternion.c