Adds sleep method in Quaternion class.

Signed-off-by: Adrien <berthet.a@gmail.com>