Working wrapped boundary condirions and better display