Three-dimensional magnetostatic analysis using Nedelec's elements