Analysis of Multisection and Multielectrode Semiconductor Lasers