Design and testing of a new linear topology for electric machines