represented gravity as a vector.