displacements as a vector instead of component wise scalars