added partition_dimensions.m