Removed redundant position map from matrix dimension