Add support for 2D numpy array in `hetMapFromKwargs` such that the user can provide a 2D array as a `heterogeneous_map` parameter via the python binding.