State Selection of Polar Molecules by Alternate Gradient Focussing