Alternate gradient focusing of neutral particles