Magnetostatics and the volumes of the platonic solids