Made GenericDM1D more concise, corrected e^1 error