added overloaded GetValue, GetIndex methods for 2D datad