Physicists have invented a new way to shake a martini