[src] added missing dimension check to computePDFOn1DGrid: the method should be applied only for dimension 1
[src] in computePDFOn1DGrid, fixed some minor bugs