commented

mainly comments added to 1D code