Reset grid

Reset grid branch does 2 things:

1. Reset grid type : type-A,B,C,O,Q
2. Create testing programs which also requires GNU octave. But this need further development.