Surface Waves and Pattern Formation in Vibrated Granular Beds