periodic boundary inheritance, plotting fixes for periodic boundaries