The Cell Method for the solution of 3D nonlinear magnetostatics