A General Method For Analyzing Wave Propagation Along Longitudinally Periodic Structures