get_all_dimensions function

Get all dimensions