Spreadsheet design of electrical machines using fe models of random examples