Added sleep function, fixed documentations, fixed build error in Vector2 and Vector3 classes.