Add demag field test for sphere and extend documentation