Electromagnetic and Thermal Analysis of a Small Tubular Permanent-Magnet Machine