DEBUG levels and plots for basis functions