Statistics for Analysis and control of switched reluctance motors