Fixed potential division by 0 problem
Added XDMF generation odule