Variable-Waveguide Model for Gain-Guided Laser Arrays