Generating Supermodes in Uniform and Non-Uniform Arrays of SOI Waveguides