added support for single numbers in _convert_to_2D