changed design parameter to matrix L