Title: Electric machine analysis using tensors