Text this: Optimizing brushless direct current motor design