Add grid points
Complete function of grid level
Merge with new features of logging
Merge branch 'comen-master'