Stability analysis of weighted multiple model adaptive control of a linear time-invariant discrete-time system