Adding model.VM.index2gridpoint and test case