5 phase step motor controller