fix L*S matrix bug