library to study the motion of molecules