State equation coefficient matrix generation